package cn.iocoder.yudao.module.member.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * Member 错误码枚举类
 * <p>
 * member 系统，使用 1-004-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== 用户相关  1-004-001-000 ============
    ErrorCode USER_NOT_EXISTS = new ErrorCode(1_004_001_000, "error.1_004_001_000");
    ErrorCode USER_MOBILE_NOT_EXISTS = new ErrorCode(1_004_001_001, "error.1_004_001_001");
    ErrorCode USER_MOBILE_USED = new ErrorCode(1_004_001_002, "error.1_004_001_002");
    ErrorCode USER_POINT_NOT_ENOUGH = new ErrorCode(1_004_001_003, "error.1_004_001_003");
    ErrorCode USER_EMAIL_USED = new ErrorCode(1_004_001_004, "error.1_004_001_004");
    ErrorCode USER_EMAIL_NOT_EXISTS = new ErrorCode(1_004_001_005, "error.1_004_001_005");
    ErrorCode USER_INVITE_CODE_NOT_EXISTS = new ErrorCode(1_004_001_006, "error.1_004_001_006");

    // ========== AUTH 模块 1-004-003-000 ==========
    ErrorCode AUTH_LOGIN_BAD_CREDENTIALS = new ErrorCode(1_004_003_000, "error.1_004_003_000");
    ErrorCode AUTH_LOGIN_USER_DISABLED = new ErrorCode(1_004_003_001, "error.1_004_003_001");
    ErrorCode AUTH_SOCIAL_USER_NOT_FOUND = new ErrorCode(1_004_003_005, "error.1_004_003_005");
    ErrorCode AUTH_MOBILE_USED = new ErrorCode(1_004_003_007, "error.1_004_003_007");
    ErrorCode AUTH_EMAIL_USED = new ErrorCode(1_004_003_008, "error.1_004_003_008");
    ErrorCode AUTH_OLE_PASSWORD_ERROR = new ErrorCode(1_004_003_009, "error.1_004_003_009");

    // ========== 用户收件地址 1-004-004-000 ==========
    ErrorCode ADDRESS_NOT_EXISTS = new ErrorCode(1_004_004_000, "error.1_004_004_000");

    // ========== 用户标签 1-004-006-000 ==========
    ErrorCode TAG_NOT_EXISTS = new ErrorCode(1_004_006_000, "error.1_004_006_000");
    ErrorCode TAG_NAME_EXISTS = new ErrorCode(1_004_006_001, "error.1_004_006_001");
    ErrorCode TAG_HAS_USER = new ErrorCode(1_004_006_002, "error.1_004_006_002");

    // ========== 积分记录 1-004-008-000 ==========
    ErrorCode POINT_RECORD_BIZ_NOT_SUPPORT = new ErrorCode(1_004_008_000, "error.1_004_008_000");

    // ========== 签到配置 1-004-009-000 ==========
    ErrorCode SIGN_IN_CONFIG_NOT_EXISTS = new ErrorCode(1_004_009_000, "error.1_004_009_000");
    ErrorCode SIGN_IN_CONFIG_EXISTS = new ErrorCode(1_004_009_001, "error.1_004_009_001");

    // ========== 签到记录 1-004-010-000 ==========
    ErrorCode SIGN_IN_RECORD_TODAY_EXISTS = new ErrorCode(1_004_010_000, "error.1_004_010_000");

    // ========== 用户等级 1-004-011-000 ==========
    ErrorCode LEVEL_NOT_EXISTS = new ErrorCode(1_004_011_000, "error.1_004_011_000");
    ErrorCode LEVEL_NAME_EXISTS = new ErrorCode(1_004_011_001, "error.1_004_011_001");
    ErrorCode LEVEL_VALUE_EXISTS = new ErrorCode(1_004_011_002, "error.1_004_011_002");
    ErrorCode LEVEL_EXPERIENCE_MIN = new ErrorCode(1_004_011_003, "error.1_004_011_003");
    ErrorCode LEVEL_EXPERIENCE_MAX = new ErrorCode(1_004_011_004, "error.1_004_011_004");
    ErrorCode LEVEL_HAS_USER = new ErrorCode(1_004_011_005, "error.1_004_011_005");
    ErrorCode EXPERIENCE_BIZ_NOT_SUPPORT = new ErrorCode(1_004_011_201, "error.1_004_011_201");

    // ========== 用户分组 1-004-012-000 ==========
    ErrorCode GROUP_NOT_EXISTS = new ErrorCode(1_004_012_000, "error.1_004_012_000");
    ErrorCode GROUP_HAS_USER = new ErrorCode(1_004_012_001, "error.1_004_012_001");

    // ========== 用户余额 1-004-013-000 ==========
    ErrorCode BALANCE_NOT_ZERO = new ErrorCode(1_004_013_000, "error.1_004_013_000");
    ErrorCode BALANCE_NOT_ENOUGH = new ErrorCode(1_004_013_001, "error.1_004_013_001"); // 修正重复编号
    ErrorCode BALANCE_RECORD_BIZ_NOT_SUPPORT = new ErrorCode(1_004_013_002, "error.1_004_013_002"); // 调整模块编号
    ErrorCode FROZEN_BIZ_NOT_SUPPORT = new ErrorCode(1_004_013_003, "error.1_004_013_003"); // 调整模块编号
    ErrorCode FROZEN_BIZ_ERROR = new ErrorCode(1_004_013_004, "error.1_004_013_004");
    ErrorCode FROZEN_BIZ_RECORD_ERROR = new ErrorCode(1_004_013_005, "error.1_004_013_005");

    // ========== 充值提现 1-004-014-000 ==========
    ErrorCode RECHARGE_NOT_EXISTS = new ErrorCode(1_004_014_000, "error.1_004_014_000");
    ErrorCode WITHDRAW_NOT_EXISTS = new ErrorCode(1_004_014_001, "error.1_004_014_001");
    ErrorCode TRON_ADDRESS_NOT_EXISTS = new ErrorCode(1_004_014_002, "error.1_004_014_002");
    ErrorCode TRON_ORDER_NOT_EXISTS = new ErrorCode(1_004_014_003, "error.1_004_014_003");
    ErrorCode WalletAddressAlreadyExists = new ErrorCode(1_004_014_004, "error.1_004_014_004"); // 驼峰转下划线
    ErrorCode OrderAlreadyExists = new ErrorCode(1_004_014_005, "error.1_004_014_005");
    ErrorCode NotAvailableWalletAddress = new ErrorCode(1_004_014_006, "error.1_004_014_006");
    ErrorCode PayAmountErr = new ErrorCode(1_004_014_007, "error.1_004_014_007");
    ErrorCode NotAvailableAmountErr = new ErrorCode(1_004_014_008, "error.1_004_014_008");
    ErrorCode RateAmountErr = new ErrorCode(1_004_014_009, "error.1_004_014_009");
    ErrorCode OrderBlockAlreadyProcess = new ErrorCode(1_004_014_010, "error.1_004_014_010");
    ErrorCode OrderNotExists = new ErrorCode(1_004_014_011, "error.1_004_014_011");
    ErrorCode ParamsMarshalErr = new ErrorCode(1_004_014_012, "error.1_004_014_012");
    ErrorCode OrdersCannotActuallyMatched = new ErrorCode(1_004_014_013, "error.1_004_014_013");

    // ========== 实名认证 1-004-015-000 ==========
    ErrorCode USER_AUTH_NOT_EXISTS = new ErrorCode(1_004_015_000, "error.1_004_015_000");
    ErrorCode USER_AUTH_REPEATED = new ErrorCode(1_004_015_001, "error.1_004_015_001");
    // ========== 提现手续费 1_004_016_000 ==========
    ErrorCode WITHDRAW_FEE_NOT_EXISTS = new ErrorCode(1_004_016_000, "error.1_004_016_000");
    ErrorCode REQUEST_REPEAT_SUBMIT = new ErrorCode(1_004_016_001, "error.1_004_016_001");
}
